import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
import { BrowserRouter } from 'react-router-dom'
import './index.css'
import App from './App.jsx'
import NotificationProvider from './components/NotificationProvider.jsx'
import { ConfigProvider } from 'antd';
import zhCN from 'antd/es/locale/zh_CN';
createRoot(document.getElementById('root')).render(
    <StrictMode>
        <BrowserRouter>
            <ConfigProvider locale={zhCN}>
            <NotificationProvider>
                <App />
            </NotificationProvider>
            </ConfigProvider>
        </BrowserRouter>
    </StrictMode>,
)

